package com.egene.tw.bus;



import org.greenrobot.eventbus.EventBus;

/**
 * Created by wzx on 18/3/16.
 */

public class BusHelper {
//    private static Bus BUS = new Bus();

    public static void register(Object obj) {
        EventBus.getDefault().register(obj);
//        BUS.register(obj);
    }

    public static void unRegister(Object obj) {
        EventBus.getDefault().unregister(obj);
//        BUS.unregister(obj);
    }

    public static void post(Object obj) {
        EventBus.getDefault().post(obj);
//        BUS.post(obj);
    }

}
